package com.silence.whereeat.service;

import com.silence.whereeat.model.UserInfo;

/**
 * 用户服务接口
 * Created by KIM on 2015/9/1.
 */
public interface UserInfoService {

    boolean isExist(String username);

    int register(UserInfo userInfo);

    boolean login(String username, String password);

    int editUserInfo(UserInfo userInfo);

    int deleteUserInfo(int userID);

    UserInfo getUserInfo(int userID);

    void close();
}
